<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html>
<head>

<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>

      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
      <SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>

      <script type="text/javascript">
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
      </script>

</head>


<body>

<div class="Popup_ContentPane_CircleLogo">
  <div class="Popup_WindowLogo">
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attachment" src="../../../../../web/images/blank.gif" border=0/></img>
  </div>
</div>

<table cellspacing="0" cellpadding="0" width="100%">
<FORM name="frmMain" method="POST" action="TabAttachments_Edition.html" enctype="multipart/form-data" id="sectionDetail">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
  <INPUT type="hidden" name="inpTabId" value="xx" id="paramTabId"></INPUT>
  <INPUT type="hidden" name="inpwindowId" value="xx" id="paramWindow"></INPUT> 
  <INPUT type="hidden" name="inpKey" value="xx" id="paramKey"></INPUT>
  <INPUT type="hidden" name="inpcFileId" value="" id="C_File_ID"></INPUT>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
        <tr class="Popup_NavBar_bg"><td></td>
          <td class="Popup_NavBar_separator_cell"></td>
          <td class="Popup_NavBar_bg_logo_left"></td>
          <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
          <td class="Popup_NavBar_bg_logo_right"></td>
          <td class="Popup_NavBar_Popup_title_cell"><span>Attachment</span></td>
          <td class="Popup_NavBar_separator_cell"></td>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
        <tr>
          <td class="Popup_SeparatorBar_bg"></td>
        </tr>
      </table>
    </td>
  </tr>

  
  <tr>
    <td>
      <div class="Popup_ContentPane_Client" style="overflow: auto;">
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">

          <tr>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
          </tr>

          <tr>
            <td class="TitleCell"> <SPAN class="LabelText">Attached to</SPAN></td>
            <td class="ContentCell" colspan="2"> <span class="Label_ReadOnly_Text" id="paramRecordIdentifier">xxAtachedRecord</span></td>
            <td></td>
          </tr>
          
          <TR> 
            <TD class="TitleCell"> <SPAN class="LabelText">File</SPAN></TD>
            <TD class="TextBox_ContentCell" colspan="2"> 
              <INPUT type="file" size="40" name="inpname" value="" class="TextBox_TwoCells_width" id="editDiscard"></INPUT> 
              <SPAN id="newDiscard"> 
                <INPUT type="text" class="TextBox_TwoCells_width" name="inpname" value="" disabled="" id="Name"></INPUT>
              </SPAN>
            </TD>
	    
	    <td></td>	
          </TR>
          <TR> 
            <TD class="TitleCell"> <SPAN class="LabelText">Format</SPAN></TD>
            <TD class="Combo_ContentCell" colspan="2"> 
                <SELECT name="inpadDatatypeId" id="reportAD_Datatype_ID_D">
                </SELECT>
            </TD>
            <td/>
          <TR> 
            <TD class="TitleCell"> <SPAN class="LabelText">Description</SPAN></TD>
            <TD class="ContentCell" colspan="2"> <TEXTAREA class="TextArea_TwoCells_width" name="inptext"  class="TextBox_TwoCells_width" rows="3" id="Text"></TEXTAREA></TD>
	    
	          <td/>
          </TR>
        

          <tr><td height="20px"></td></tr>

          <tr>
            <td></td>
            <td class="Button_RightAlign_ContentCell">
              <div>
                <table class="Button" 
                onclick="submitCommandForm('SAVE_xx_RELATION', false, null, 'TabAttachments_Edition.html', '_self');return false;"
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='HTML_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;"
                id="linkButtonSaveRelation">
                  <tr>
                    <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Results" title="Results" src="../../../../../web/images/blank.gif" border=0/></td>
                    <td class="Button_text Button_width">Save</td>
                    <td class="Button_right"></td>
                  </tr>
                </table>
              </div>
            </td>
            <td class="Button_LeftAlign_ContentCell">
              <div>
                <table class="Button" 
                onclick="submitCommandForm('DEFAULT', false, null, 'TabAttachments_F1.html', '_self');return false;"
                onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='PDF_Report';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
                  <tr>
                    <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="PDF_Report" title="PDF_Report" src="../../../../../web/images/blank.gif" border=0/></td>
                    <td class="Button_text Button_width">Cancel</td>
                    <td class="Button_right"></td>
                  </tr>
                </table>
              </div>
            </td>
            <td></td>
          </tr>

        </table>
      </div>
    </td>
  </tr>
  </FORM>
</table>

</body>
</html>
